﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类RESULT_SPEED
     ///</summary>
     public class RESULT_SPEED
     {
         private int __ID= 0;
         private string __SDJCCS="" ;
         private string __JCLSH="" ;
         private string __SCSD="" ;
         private string __SDMBZ="" ;
         private string __SDWC="" ;
         private string __SDBZXX="" ;
         private string __SDBZSX="" ;
         private string __SD_PD="" ;
         private string __SDLYLX="" ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public RESULT_SPEED()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("SDJCCS",false);
             this.__Changed.Add("JCLSH",false);
             this.__Changed.Add("SCSD",false);
             this.__Changed.Add("SDMBZ",false);
             this.__Changed.Add("SDWC",false);
             this.__Changed.Add("SDBZXX",false);
             this.__Changed.Add("SDBZSX",false);
             this.__Changed.Add("SD_PD",false);
             this.__Changed.Add("SDLYLX",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID = 0;
             this.__SDJCCS = "" ;
             this.__JCLSH = "" ;
             this.__SCSD = "" ;
             this.__SDMBZ = "" ;
             this.__SDWC = "" ;
             this.__SDBZXX = "" ;
             this.__SDBZSX = "" ;
             this.__SD_PD = "" ;
             this.__SDLYLX = "" ;
             this.__Changed["ID"] = false;
             this.__Changed["SDJCCS"] = false;
             this.__Changed["JCLSH"] = false;
             this.__Changed["SCSD"] = false;
             this.__Changed["SDMBZ"] = false;
             this.__Changed["SDWC"] = false;
             this.__Changed["SDBZXX"] = false;
             this.__Changed["SDBZSX"] = false;
             this.__Changed["SD_PD"] = false;
             this.__Changed["SDLYLX"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[SDJCCS]的数据
         /// </summary>
         public string SDJCCS
         {
              set{ __SDJCCS = value.Replace("'","’"); __Changed["SDJCCS"] = true;}
              get{return __SDJCCS;}
         }
         /// <summary>
         ///设置或获取类中的[JCLSH]的数据
         /// </summary>
         public string JCLSH
         {
              set{ __JCLSH = value.Replace("'","’"); __Changed["JCLSH"] = true;}
              get{return __JCLSH;}
         }
         /// <summary>
         ///设置或获取类中的[SCSD]的数据
         /// </summary>
         public string SCSD
         {
              set{ __SCSD = value.Replace("'","’"); __Changed["SCSD"] = true;}
              get{return __SCSD;}
         }
         /// <summary>
         ///设置或获取类中的[SDMBZ]的数据
         /// </summary>
         public string SDMBZ
         {
              set{ __SDMBZ = value.Replace("'","’"); __Changed["SDMBZ"] = true;}
              get{return __SDMBZ;}
         }
         /// <summary>
         ///设置或获取类中的[SDWC]的数据
         /// </summary>
         public string SDWC
         {
              set{ __SDWC = value.Replace("'","’"); __Changed["SDWC"] = true;}
              get{return __SDWC;}
         }
         /// <summary>
         ///设置或获取类中的[SDBZXX]的数据
         /// </summary>
         public string SDBZXX
         {
              set{ __SDBZXX = value.Replace("'","’"); __Changed["SDBZXX"] = true;}
              get{return __SDBZXX;}
         }
         /// <summary>
         ///设置或获取类中的[SDBZSX]的数据
         /// </summary>
         public string SDBZSX
         {
              set{ __SDBZSX = value.Replace("'","’"); __Changed["SDBZSX"] = true;}
              get{return __SDBZSX;}
         }
         /// <summary>
         ///设置或获取类中的[SD_PD]的数据
         /// </summary>
         public string SD_PD
         {
              set{ __SD_PD = value.Replace("'","’"); __Changed["SD_PD"] = true;}
              get{return __SD_PD;}
         }
         /// <summary>
         ///设置或获取类中的[SDLYLX]的数据
         /// </summary>
         public string SDLYLX
         {
              set{ __SDLYLX = value.Replace("'","’"); __Changed["SDLYLX"] = true;}
              get{return __SDLYLX;}
         }
    }
}
